/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * abstDomain: A13705 (C-0-T13129-A13130-A13644-A13705-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getOtherTechnologistOrTechnicianProviderHIPAA()
 * @model extendedMetaData="name='OtherTechnologistOrTechnicianProviderHIPAA'"
 * @generated
 */
public enum OtherTechnologistOrTechnicianProviderHIPAA implements Enumerator {
	/**
	 * The '<em><b>2472B0301N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2472B0301N_VALUE
	 * @generated
	 * @ordered
	 */
	_2472B0301N(0, "_2472B0301N", "2472B0301N"),

	/**
	 * The '<em><b>2472D0500N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2472D0500N_VALUE
	 * @generated
	 * @ordered
	 */
	_2472D0500N(1, "_2472D0500N", "2472D0500N"),

	/**
	 * The '<em><b>2472E0500N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2472E0500N_VALUE
	 * @generated
	 * @ordered
	 */
	_2472E0500N(2, "_2472E0500N", "2472E0500N"),

	/**
	 * The '<em><b>2472R0900N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2472R0900N_VALUE
	 * @generated
	 * @ordered
	 */
	_2472R0900N(3, "_2472R0900N", "2472R0900N"),

	/**
	 * The '<em><b>2472V0600N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2472V0600N_VALUE
	 * @generated
	 * @ordered
	 */
	_2472V0600N(4, "_2472V0600N", "2472V0600N");

	/**
	 * The '<em><b>2472B0301N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2472B0301N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2472B0301N
	 * @model literal="2472B0301N"
	 * @generated
	 * @ordered
	 */
	public static final int _2472B0301N_VALUE = 0;

	/**
	 * The '<em><b>2472D0500N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2472D0500N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2472D0500N
	 * @model literal="2472D0500N"
	 * @generated
	 * @ordered
	 */
	public static final int _2472D0500N_VALUE = 1;

	/**
	 * The '<em><b>2472E0500N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2472E0500N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2472E0500N
	 * @model literal="2472E0500N"
	 * @generated
	 * @ordered
	 */
	public static final int _2472E0500N_VALUE = 2;

	/**
	 * The '<em><b>2472R0900N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2472R0900N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2472R0900N
	 * @model literal="2472R0900N"
	 * @generated
	 * @ordered
	 */
	public static final int _2472R0900N_VALUE = 3;

	/**
	 * The '<em><b>2472V0600N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2472V0600N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2472V0600N
	 * @model literal="2472V0600N"
	 * @generated
	 * @ordered
	 */
	public static final int _2472V0600N_VALUE = 4;

	/**
	 * An array of all the '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final OtherTechnologistOrTechnicianProviderHIPAA[] VALUES_ARRAY =
		new OtherTechnologistOrTechnicianProviderHIPAA[] {
			_2472B0301N,
			_2472D0500N,
			_2472E0500N,
			_2472R0900N,
			_2472V0600N,
		};

	/**
	 * A public read-only list of all the '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<OtherTechnologistOrTechnicianProviderHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OtherTechnologistOrTechnicianProviderHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			OtherTechnologistOrTechnicianProviderHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OtherTechnologistOrTechnicianProviderHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			OtherTechnologistOrTechnicianProviderHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Other Technologist Or Technician Provider HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OtherTechnologistOrTechnicianProviderHIPAA get(int value) {
		switch (value) {
			case _2472B0301N_VALUE: return _2472B0301N;
			case _2472D0500N_VALUE: return _2472D0500N;
			case _2472E0500N_VALUE: return _2472E0500N;
			case _2472R0900N_VALUE: return _2472R0900N;
			case _2472V0600N_VALUE: return _2472V0600N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private OtherTechnologistOrTechnicianProviderHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //OtherTechnologistOrTechnicianProviderHIPAA
